package ReflectSQL;

public class Student_Javabean {
   private Integer sid;
   private String sname;
    private String ssex;
    private String sage;
    private String sdepartment;


    public Student_Javabean() {
    }

    public Student_Javabean(Integer sid, String sname, String ssex, String sage, String sdepartment) {
        this.sid = sid;
        this.sname = sname;
        this.ssex = ssex;
        this.sage = sage;
        this.sdepartment = sdepartment;
    }

    /**
     * 获取
     * @return sid
     */
    public Integer getSid() {
        return sid;
    }

    /**
     * 设置
     * @param sid
     */
    public void setSid(Integer sid) {
        this.sid = sid;
    }

    /**
     * 获取
     * @return sname
     */
    public String getSname() {
        return sname;
    }

    /**
     * 设置
     * @param sname
     */
    public void setSname(String sname) {
        this.sname = sname;
    }

    /**
     * 获取
     * @return ssex
     */
    public String getSsex() {
        return ssex;
    }

    /**
     * 设置
     * @param ssex
     */
    public void setSsex(String ssex) {
        this.ssex = ssex;
    }

    /**
     * 获取
     * @return sage
     */
    public String getSage() {
        return sage;
    }

    /**
     * 设置
     * @param sage
     */
    public void setSage(String sage) {
        this.sage = sage;
    }

    /**
     * 获取
     * @return sdepartment
     */
    public String getSdepartment() {
        return sdepartment;
    }

    /**
     * 设置
     * @param sdepartment
     */
    public void setSdepartment(String sdepartment) {
        this.sdepartment = sdepartment;
    }

    public String toString() {
        return "Student_Javabean{sid = " + sid + ", sname = " + sname + ", ssex = " + ssex + ", sage = " + sage + ", sdepartment = " + sdepartment + "}";
    }
}
